<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>modal box</title>
	<script type="text/javascript" src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
	<script type="text/javascript" src="jq-modal.js"></script>
</head>
<body>
<button id="show">show medal</button>
</div>
</body>
<script type="text/javascript">
	$('#show').click(function(){
		$.alertMSG('modal test',function () {
			console.log('回调')
        });
		console.log(1);
	})
</script>
</html>